package org.jeecg.modules.lsys.all_data.service.impl;

import org.jeecg.modules.lsys.all_data.entity.AllData;
import org.jeecg.modules.lsys.all_data.mapper.AllDataMapper;
import org.jeecg.modules.lsys.all_data.service.IAllDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 所有大数据
 * @Author: tangxz
 * @Date:   2019-10-20
 * @Version: V1.0
 */
@Service
public class AllDataServiceImpl extends ServiceImpl<AllDataMapper, AllData> implements IAllDataService {

    @Autowired
    AllDataMapper allDataMapper;

    @Override
    public void autoSetAllData(AllData allData) {
        allData.setId(1);
        allDataMapper.autoSetAllData(allData);
    }
}
